package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.StaffBookTransposingLogDao;
import io.wdb.modules.generator.generator.entity.StaffBookTransposingLogEntity;
import io.wdb.modules.generator.generator.service.StaffBookTransposingLogService;



@Service("staffBookTransposingLogService")
public class StaffBookTransposingLogServiceImpl implements StaffBookTransposingLogService {
	@Autowired
	private StaffBookTransposingLogDao staffBookTransposingLogDao;
	
	@Override
	public StaffBookTransposingLogEntity queryObject(Long id){
		return staffBookTransposingLogDao.queryObject(id);
	}
	
	@Override
	public List<StaffBookTransposingLogEntity> queryList(Map<String, Object> map){
		return staffBookTransposingLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return staffBookTransposingLogDao.queryTotal(map);
	}
	
	@Override
	public void save(StaffBookTransposingLogEntity staffBookTransposingLog){
		staffBookTransposingLogDao.save(staffBookTransposingLog);
	}
	
	@Override
	public void update(StaffBookTransposingLogEntity staffBookTransposingLog){
		staffBookTransposingLogDao.update(staffBookTransposingLog);
	}
	
	@Override
	public void delete(Long id){
		staffBookTransposingLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		staffBookTransposingLogDao.deleteBatch(ids);
	}
	
}
